<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>flex制作时间周</title>
    <style>
        body {
            background-image: linear-gradient(to right, rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0.5));
        }

        .main {
            width: 400px;
            height: 600px;
            border: 1px solid bisque;
            margin: 59px auto 0px;
            display: flex;
            justify-content: space-between;

        }

        .left {
            height: 200px;
            border: 1px solid blueviolet;
        }
    </style>
</head>

<body>
    <div class="main">
        <div class="left">1</div>
        <div class="right">2</div>
    </div>

</body>

</html>